package cn.xxi.ai.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * MinIO 配置信息
 * 用于配置文件中读取 minio.* 属性
 * 
 * 示例 application.yml:
 * minio:
 *   endpoint: http://localhost:9000
 *   accessKey: your-access-key
 *   secretKey: your-secret-key
 *   bucket: your-bucket-name
 * 
 * @author yangzhen
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "minio")
public class MinioProperties {
    /** MinIO服务地址 */
    private String endpoint;

    /** 访问Key */
    private String accessKey;

    /** 密钥Key */
    private String secretKey;

    /** 默认存储桶 */
    private String bucket;
}
